@echo off

call validate_iffxiso.bat

if not exist extracted  mkdir extracted

rem mt with second lang text? (others from 2988.mt)
rem "same" as 1210
rem fcopy.exe -e "%iffxiso%"  extracted\1216.mt.c1       0x037779800  0x000004B8
rem "same" as 1212
rem fcopy.exe -e "%iffxiso%"  extracted\1217.mt.c1       0x03777A000  0x000006A8
rem "same" as 1206
rem fcopy.exe -e "%iffxiso%"  extracted\1218.mt.c1       0x03777A800  0x00000790


fcopy.exe -e "%iffxiso%"  extracted\1092.mt.c1       0x0372BC000  0x00000400
fcopy.exe -e "%iffxiso%"  extracted\1093.mt.c1       0x0372BC800  0x00003F20
fcopy.exe -e "%iffxiso%"  extracted\1094.mt.c1       0x0372C0800  0x00000018
fcopy.exe -e "%iffxiso%"  extracted\1095.mt.c1       0x0372C1000  0x00000050
fcopy.exe -e "%iffxiso%"  extracted\1096.mt.c1       0x0372C1800  0x00000378
fcopy.exe -e "%iffxiso%"  extracted\1099.mt.c1       0x0372F4800  0x00000838
fcopy.exe -e "%iffxiso%"  extracted\1100.mt.c1       0x0372F5800  0x000016B8
fcopy.exe -e "%iffxiso%"  extracted\1101.mt.c1       0x0372F7000  0x000000F0
fcopy.exe -e "%iffxiso%"  extracted\1102.mt.c1       0x0372F7800  0x00001590
fcopy.exe -e "%iffxiso%"  extracted\1103.mt.c1       0x0372F9000  0x00000930
fcopy.exe -e "%iffxiso%"  extracted\1104.mt.c1       0x0372FA000  0x000003E0
fcopy.exe -e "%iffxiso%"  extracted\1105.mt.c1       0x0372FA800  0x00001028
fcopy.exe -e "%iffxiso%"  extracted\1106.mt.c1       0x0372FC000  0x000003B0
fcopy.exe -e "%iffxiso%"  extracted\1107.mt.c1       0x0372FC800  0x00002288
fcopy.exe -e "%iffxiso%"  extracted\1108.mt.c1       0x0372FF000  0x00001D10
fcopy.exe -e "%iffxiso%"  extracted\1109.mt.c1       0x037301000  0x00000848
fcopy.exe -e "%iffxiso%"  extracted\1110.mt.c1       0x037302000  0x000005A0
fcopy.exe -e "%iffxiso%"  extracted\1111.mt.c1       0x037302800  0x00000268
fcopy.exe -e "%iffxiso%"  extracted\1112.mt.c1       0x037303000  0x000042C0
fcopy.exe -e "%iffxiso%"  extracted\1114.mt.c1       0x037308800  0x000004D0
fcopy.exe -e "%iffxiso%"  extracted\1116.mt.c1       0x03730A000  0x00000028
fcopy.exe -e "%iffxiso%"  extracted\1117.mt.c1       0x03730A800  0x00000B88
fcopy.exe -e "%iffxiso%"  extracted\1204.mt.c1       0x037773000  0x000005B8
fcopy.exe -e "%iffxiso%"  extracted\1205.mt.c1       0x037773800  0x00000990
fcopy.exe -e "%iffxiso%"  extracted\1206.mt.c1       0x037774800  0x00000760
fcopy.exe -e "%iffxiso%"  extracted\1207.mt.c1       0x037775000  0x000005B0
fcopy.exe -e "%iffxiso%"  extracted\1208.mt.c1       0x037775800  0x00000220
fcopy.exe -e "%iffxiso%"  extracted\1209.mt.c1       0x037776000  0x000001C8
fcopy.exe -e "%iffxiso%"  extracted\1210.mt.c1       0x037776800  0x000004A8
fcopy.exe -e "%iffxiso%"  extracted\1211.mt.c1       0x037777000  0x00000250
fcopy.exe -e "%iffxiso%"  extracted\1212.mt.c1       0x037777800  0x000006C0
fcopy.exe -e "%iffxiso%"  extracted\1213.mt.c1       0x037778000  0x00000718
fcopy.exe -e "%iffxiso%"  extracted\1214.mt.c1       0x037778800  0x00000298
fcopy.exe -e "%iffxiso%"  extracted\1215.mt.c1       0x037779000  0x00000418

fcopy.exe -e "%iffxiso%"  extracted\1219.mt.c1       0x03777B000  0x00000108
fcopy.exe -e "%iffxiso%"  extracted\1220.mt.c1       0x03777B800  0x00000110
fcopy.exe -e "%iffxiso%"  extracted\1221.mt.c1       0x03777C000  0x00000400
fcopy.exe -e "%iffxiso%"  extracted\1222.mt.c1       0x03777C800  0x00000100
fcopy.exe -e "%iffxiso%"  extracted\1223.mt.c1       0x03777D000  0x00000728
fcopy.exe -e "%iffxiso%"  extracted\1224.mt.c1       0x03777D800  0x00000338
fcopy.exe -e "%iffxiso%"  extracted\1225.mt.c1       0x03777E000  0x00000200


if not exist extdec  mkdir  extdec
FOR %%i IN (extracted\*.mt.c1) DO ffxdecode.exe   "%%i"  "extdec\%%~ni"

